package com.maila.xiaoaoschool.entity;

import java.util.List;

/**
 * 每日一文
 * Created by mark on 2017/12/11.
 */

public class XiaoArt {

    /**
     * result : 1
     * message : 展示成功
     * data : [{"id":"17","img":"/upload/pliang/20160109200443891.jpg","content":"你好我是个新闻","addtime":"2017-12-01 ","title":"我真的是个新闻`"},{"id":"18","img":"/upload/user/20150915184505892.jpg","content":"你好我是个新闻你好我是个新闻你好我是个新闻你好我是个新闻","addtime":"2017-11-26 ","title":"222"},{"id":"16","img":"/upload/pliang/20160109200443891.jpg","content":"你好我是个新闻","addtime":"2017-11-26 ","title":"我就是一个新闻"}]
     */

    private int result;
    private String message;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 17
         * img : /upload/pliang/20160109200443891.jpg
         * content : 你好我是个新闻
         * addtime : 2017-12-01
         * title : 我真的是个新闻`
         */

        private String id;
        private String img;
        private String content;
        private String addtime;
        private String title;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getAddtime() {
            return addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
